<?php
	$tblNews = new Zendvn_Models_NewsItem(); 
	$news = $tblNews->listItem($view->arrParam,array('task'=>'copyright'));
	if(!empty($news)){
		$val = $news;
		$tblCut = new Zendvn_File_CutTring();
		$summary = $val['summary'];
		$summary 	= str_replace("\\"," ",$summary);
		$summary = $tblCut->cutTring(200, $summary, null);
		$lang = $this->arrParam['lang'];
        if(empty($lang)){
           $lang = 'vi';
        }else{
           $lang = $this->arrParam['lang'];
        }
        $urlOptions = array('module'=>'news','controller'=>'index',
													'action'=>'detail',
													'nname'=>$val['alias_name'],
													'title'=>$val['alias'],
                    								'nid'=> $val['cat_id'],
													'id'=>$val['id'],
                    								'lang'=>$lang);
        $linkDetail = $this->url($urlOptions,'news-detail');
?>

<div class="box-right mar-btn-20">
<div class="sub-right color-blue">Nhuận bút</div>
<p class="summary"><?php echo $summary?></p>
<a href="<?php echo $linkDetail?>" class="readmore">...Xem chi tiết</a>
</div>
<?php } ?>